home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / misc / amigem.lha / amigem / exec / startup.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-23  |  662 b   |  29 lines

  1. #include <exec/resident.h>
  2. #include <amigem/utils.h>
  3. #include "exec.h"
  4.  
  5. long Exec_Start(void) /* Error return if started as a program */
  6. { return -1; }
  7.  
  8. void __Exec_Init(void);    /* Some globals */
  9. extern const long Exec_EndCode;
  10.  
  11. const char Exec_Name[]=LIB_NAME;
  12. const char Exec_VStr[]=LIB_VERSTRING(LIB_NAME,LIB_VERSION,LIB_REVISION,LIB_DATE);
  13.  
  14. const struct Resident Exec_RomTag=
  15. {
  16.   RTC_MATCHWORD,
  17.   (struct Resident *)&Exec_RomTag,
  18.   (APTR)&Exec_EndCode,
  19.   0,
  20.   LIB_VERSION,
  21.   NT_LIBRARY,
  22.   0,
  23.   (char *)Exec_Name,
  24.   (char *)LIB_ID(Exec_VStr),
  25.   (APTR)&__Exec_Init
  26. };
  27.  
  28. const long Exec_EndCode=0; /* Mark the end of the area in which no romtags can be found */
  29.